/*
 * Copyright 2002-2006 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific language governing permissions and limitations under the
 * License.
 */
package pikes.xml;

import pikes.core.Printable;
import pikes.xml.XMLVisitingException;
import pikes.xml.XMLVisitor;

public class MockXMLProcessor implements XMLVisitor {

	public CharSequence version = null;

	public CharSequence encoding = null;

	public CharSequence firstName = null;

	public CharSequence prefix = null;

	public Boolean hasChildren = null;

	public void closeSecondTag(CharSequence name) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void closingFirstTag(CharSequence name, boolean hasChildren) throws XMLVisitingException {
		firstName = name;
		this.hasChildren = Boolean.valueOf(hasChildren);
	}

	public void openingFirstTag(CharSequence name) throws XMLVisitingException {
		firstName = name;

	}

	public void openingFirstTag(CharSequence prefix, CharSequence name) throws XMLVisitingException {
		this.prefix = prefix;
		firstName = name;

	}

	public void attribute(CharSequence name, CharSequence value) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void attribute(CharSequence name, Printable value) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void text(CharSequence text) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void xmlDeclaration(CharSequence version) throws XMLVisitingException {
		this.version = version;
	}

	public void xmlDeclaration(CharSequence version, CharSequence encoding) throws XMLVisitingException {
		xmlDeclaration(version);
		this.encoding = encoding;
	}

	public void publicDocType(CharSequence name, CharSequence id, CharSequence uri) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void comment(CharSequence comment) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

	public void text(Printable printable) throws XMLVisitingException {
		// TODO Auto-generated method stub

	}

}
